package com.example.demo.service;

import com.example.demo.model.Material;
import com.example.demo.model.vo.MaterialAddVo;
import com.example.demo.util.Result;

import java.util.List;

/**
 * Created by 86151 on 2018/12/24.
 */
public interface SpringBootService {
    List<Material> queryAll();
    List<Material> batchQueryAllByIds(List<Integer> ids);
    List<Material> batchAddMaterial(List<Material> material);
    List<Material> batchUpdateMaterial(List<Material> material);
    Result<MaterialAddVo> addMaterial(MaterialAddVo materialAddVo) throws Exception;

}
